# -*-encoding=utf-8-*- 
__author__ = '帆'

import CreateTags, Db, Queue, threading, thread
import TagsThread, sys

if __name__ == '__main__':
    queue = Queue.Queue()
    db = Db.Db(queue)
    db.getCell()

    tags = db.getCellTags()
    # print(tags)
    # sys.exit()
    #thread.start_new(db.getCell, ())
    obj = CreateTags.CreateTags()

    for i in range(10):
        TagsThread.TagsThread(queue, obj, db).start()